package com.rmi;

import com.dao.Flight;

import java.util.List;

/**
 * Created by Phillip on 2014/4/14.
 */
public interface RmiInterface {

    public List<Flight> queryFlights(String deptString, String destString, String deptDateString, String returnDateString);

    public List<String> queryCity();

    public String book(int airline, String flightNoString1, String deptString, String clasString1, String flightNoString2, String returnString,
                       String classString2, String nameString, String creditString);

    public String queryRates(int airline, String flightString, String deptDateString, String classString);

    public String queryAirline(String deptString, String dsctString);
}
